package com.mice.meta
{
	import flash.utils.Dictionary;

	public class MetaHelper{
		/**
		 * 获取符合level的所有fighter meta
		 */		
		public static function getFighterMetaInLevel(level:int, team:int):Array{
			var arr:Array = new Array();
			var dict:Dictionary = MetaManager.fighterMeta[level];
			for each (var meta:FighterMeta in dict){
				if (meta.isBoss)continue;
				if (meta.team == team)arr.push(meta);
			}
			
			return arr;
		}
	}
}